<div class="mui-content" ng-controller="partnerRegisterController" style="padding-top: 44px;height: 100%; background-color: white;position: fixed; width: 100%;">

    <header class="mui-bar mui-bar-nav" style="background-color:#0e90d2;">
        <h1 class="mui-title" style="color: white;">逗皮营销公众平台</h1>
    </header>

    <div class="mui-input-group no-after">
        <div class="mui-input-row">
            <label for="mobile"></label>
            <input id='mobile' type="tel" maxlength="11" class="mui-input-clear mui-input" placeholder="请输入手机号" value="{{mobile}}" ng-model="mobile">
        </div>
        <div class="mui-input-row">
            <label for="name"></label>
            <input id='name' type="text" class="mui-input-clear mui-input" placeholder="请输入姓名" value="{{name}}"
                    ng-model="name">
        </div>
        <div class="mui-input-row">
            <label for="password"></label>
            <input id='password' type="text" class="mui-input-clear mui-input" placeholder="请输入密码" value="{{password}}"
                    ng-model="password">
        </div>
        <div class="mui-input-row">
            <label for="confimPassword"></label>
            <input id='confimPassword' type="text" class="mui-input-clear mui-input" placeholder="请输入确认密码"
                    value="{{confimPassword}}"
                    ng-model="confimPassword">
        </div>
        <div class="mui-input-row login-code">
            <label for="smsCode"></label>
            <input id='smsCode' type="tel" maxlength="4" class="mui-input-clear mui-input" placeholder="请输入动态码" value="{{code}}" ng-model="code">
            <button type="button" id="btnSendMsg" ng-click="sendMsg()"
                    style="position: absolute;right: 0;width: 102px; background-color: #c97721; border: 0; margin:5px; height: 30px;border-radius: 5px;padding: 0;"
                    class="mui-btn mui-btn-primary"
                    data-loading-text="发送中" data-loading-icon-position="left">获取验证码
            </button>
        </div>
    </div>

    <div class="mui-content-padded">
        <div style="color: #89b4d7;">
            <div class="link-area" style="display: inline-block; float: right;">
                <a href="javascript:void(0);" ng-click="toLogin();" style="float: right;">已有账号，去登录</a>
            </div>
        </div>
        <button id="btnLogin" ng-click="register();" data-loading-text="注册中..." data-loading-icon-position="left" class="mui-btn mui-btn-block mui-btn-primary"
                style="padding: 5px; background-color:#0e90d2; border: 1px solid #3380c6;">注册
        </button>
    </div>
</div>
<script>
    jQuery(function () {
        mui('.mui-input-row input').input();
        mui('.mui-checkbox').on('tap', 'a', function () {
            location.href = this.href;
        });
    });
</script>
